#pragma once


// CExamFinishedDlg dialog
#include <afxmt.h>

class CExamFinishedDlg : public CDialog
{
    DECLARE_DYNAMIC(CExamFinishedDlg)

public:
    CExamFinishedDlg(CWnd* pParent = NULL);   // standard constructor
    virtual ~CExamFinishedDlg();

// Dialog Data
    enum { IDD = IDD_ExamFinished };

protected:
    bool m_flagShown;
    CCriticalSection m_lock;

protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    DECLARE_MESSAGE_MAP()
protected:
    void OnExamStopped(const void *, int &);
    void ShowProcessingWnd(void);

    virtual void OnCancel();
    virtual void OnOK();
    afx_msg LRESULT OnExamStoppedMessage(WPARAM, LPARAM);
public:
    virtual BOOL OnInitDialog();
    afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
    afx_msg void OnDestroy();
};
